package com.ruoyi.system.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import lombok.Data;
import java.util.Date;



/**
 * 流程关联节点视图对象 lc_node
 *
 * @author ruoyi
 * @date 2023-06-04
 */
@Data
@ExcelIgnoreUnannotated
public class LcNodeVo {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @ExcelProperty(value = "id")
    private Long nodeId;

    /**
     * 流程id
     */
    @ExcelProperty(value = "流程id")
    private Long processId;

    /**
     * 流程(0:流程1:节点)
     */
    @ExcelProperty(value = "流程(0:流程1:节点)")
    private Integer type;

    /**
     * 节点key
     */
    @ExcelProperty(value = "节点key")
    private String nodeKey;

    /**
     * 节点名称
     */
    @ExcelProperty(value = "节点名称")
    private String nodeName;

    /**
     * 节点描述
     */
    @ExcelProperty(value = "节点描述")
    private String nodeDescription;

    /**
     * 责任单位
     */
    @ExcelProperty(value = "责任单位")
    private String nodeUnit;

    /**
     * 责任单位
     */
    @ExcelProperty(value = "责任单位")
    private String nodeUnits;

    /**
     * 责任岗位
     */
    @ExcelProperty(value = "责任岗位")
    private String nodeJob;

    /**
     * 时间要求
     */
    @ExcelProperty(value = "时间要求")
    private String nodeTimeRequirement;

    /**
     * 合规风险提示json
     */
    @ExcelProperty(value = "合规风险提示json")
    private String complianceJson;

    /**
     * 节点表单json
     */
    @ExcelProperty(value = "节点表单json")
    private String formJson;

    /**
     * 制度文件json
     */
    @ExcelProperty(value = "制度文件json")
    private String systemJson;

    /**
     * 关联流程json
     */
    @ExcelProperty(value = "关联流程json")
    private String processJson;

    /**
     * 审批人设置json
     */
    @ExcelProperty(value = "审批人设置json")
    private String approverJson;

    /**
     * 状态（0正常 1停用）
     */
    @ExcelProperty(value = "状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "0=正常,1=停用")
    private String status;

    private Integer isStartType;

}
